import { uniFetch } from './uni-fetch'
export default {
	// 订单文件上传
	uploadPicture(data) {
		return uniFetch.post("/sheet/uploadSheetFile", data)
	},

	// 提交师傅注册信息
	updateWorkerInfo(idCardFrontFileUrl, idCardBackFileUrl, workerCertFrontFileUrl, workerCertBackFileUrl,
		driverLicenseFrontFileUrl, driverLicenseBackFileUrl, carFrontFileUrl) {
		return uniFetch.post('/ucenter/user/updateWorkerInfo'  , {
			idCardFrontFileUrl:idCardFrontFileUrl,
			idCardBackFileUrl:idCardBackFileUrl,
			workerCertFrontFileUrl:workerCertFrontFileUrl,
			workerCertBackFileUrl:workerCertBackFileUrl,
			driverLicenseFrontFileUrl:driverLicenseFrontFileUrl,
			driverLicenseBackFileUrl:driverLicenseBackFileUrl,
			carFrontFileUrl:carFrontFileUrl
		  })

	}
}
